// recharge-item
const { BaseBehavior, COMPONENT_OPTIONS } = require('../../mixins/component');

Component({
    behaviors: [BaseBehavior],
    options: {
        ...COMPONENT_OPTIONS,
    },
    properties: {
        itemInfo: {
            type: Object,
            value: {},
        },
        isSelect: {
            type: Boolean,
            value: false,
        },
    },
    data: {

    },
    methods: {
        clickAction() {
            const { itemInfo } = this.data;
            this.triggerEvent('select', itemInfo.key);
        },
    }
})
